package structural.decorator;

import lombok.Data;

/**
 * @Description: 笔套
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
@Data
public abstract class AbstractWrapper {
    private AbstractRefill refill;
    private String color;

    public void write() {
        System.out.println("正在用" + this.color + "笔套，" + refill.getColor() + "笔芯写字");
    }
}
